<h2><?php echo $ps_title;?></h2>
<p>
	Fields marked with 
	<span class='required'>*</span>
	 are required.
</p>


<div class='form'>
	<form id="ecurrencyDepositForm" method='post' action="<?php echo site_url("user/deposit/ecurrency/{$ps}/save")?>"  onsubmit="return Send('#ecurrencyDepositForm');">
	
		<div class="line">
			<label id="ammountLbl" for="ammount">
				Amount
				<span class="required">*</span>
			</label>
			<input type="text" id="ammount" value="" name="ammount" style="" />
			<span class="error-validator" style="display:none;">
				<span id="ammountErr"></span>
			</span>
<!--			<div style="clear:both;"></div>-->
		</div>
		
		<!-- 
		<div class="line" id="">
			<label id="depositCurrencyLbl" for="depositCurrency">Currency</label>
			<select id="depositCurrency" name="depositCurrency">
				<option value="5">USD</option>
				<option value="4">EUR</option>
			</select>
			<span class="error-validator" style="display:none;">
				<span id="depositCurrencyErr"></span>
			</span>
		</div>
		 -->
		 
		<div class="line">
			<label id="depositWalletLbl" for="depositWallet">Wallet</label>
			<select id="depositWallet" name="depositWallet">
				<option value="">Select one</option>
				<?php foreach ($wallets as $value):?>
					<?php 
						$to_value = $value["ID"];
						if($to_value == $to_id){
							$selected = "selected='selected'";
						}
						else	$selected = "";
					?>
					<option value="<?php echo $to_value;?>" <?php echo $selected;?>>
						<?php echo $value["NAME"];?>
					</option>
				<?php endforeach;?>
			</select>
		
			<span class="error-validator" style="display:none;">
				<span id="depositWalletErr"></span>
			</span>
		</div>
		
		<div class="line" id="">
			<p class='page-announce' style='font-size:12px;'>
				In order to confirm your Perfect Money account you HAVE TO enter the following code in the Comment field of 
				the transfer form. You have to do this only once for each account.
				<p style="font-size:11px;">
					Confirm code:<span class='confirm_code'><?php echo $code;?></span> 
				</p>
			</p>
			<p class='page-announce' style='font-size:12px;'>
				Transfer to Perfect Money account U2601054.
			</p>
		</div>
		

		<fieldset class="submit">
			<div class="input-button-block">
				<input type="button" id="btnBack" onclick="javascript:window.location='<?php echo site_url("user/account/operations/deposit");?>'" value="Back" name="btnBack">
				<input type="submit" id="btnDepositSend" onclick="" value="Send" name="btnDepositSend">
			</div>
		</fieldset>
	</form>
</div>